package libregnummap;
import java.awt.Color;
/*
 * PrintableObject.java
 *
 * Created on March 4, 2009, 5:31 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

/**
 *
 * @author alvaro
 */
public abstract class PrintableObject {
    
    private String type = "PrintableObject";
    private Color color = Color.WHITE;
    private boolean filled = true;
    private boolean visible = true;
    
    public void setType(String t){
        this.type = t;
    }
    
    public void setVisible(boolean visible){
        this.visible = visible;
    }
    
    public boolean isVisible(){
        return this.visible;
    }
    
    public String getType(){
        return type;
    }
    
    public void setColor(Color c){
        color = c;
    }
    
    public Color getColor(){
        return color;
    }
    
    public void setFilled(boolean filled){
        this.filled = filled;
    }
    
    public boolean isFilled(){
        return filled;
    }
    
}
